package com.hl.wuyeguanliIDEA.service.impl;

import com.hl.wuyeguanliIDEA.mapper.ComplaintRegistrationMapper;
import com.hl.wuyeguanliIDEA.pojo.ComplaintRegistration;
import com.hl.wuyeguanliIDEA.service.ComplaintRegistrationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

@Service
public class ComplaintRegistrationServiceImpl implements ComplaintRegistrationService {
    @Autowired
    private ComplaintRegistrationMapper complaintRegistrationMapper;
    @Override
    public int insertAll(ComplaintRegistration c1) {
        return complaintRegistrationMapper.insertAll(c1);
    }

    @Override
    public List<ComplaintRegistration> selectAll(ComplaintRegistration c1) {
        return complaintRegistrationMapper.selectAll(c1);
    }

    @Override
    public List<ComplaintRegistration> selectPart(ComplaintRegistration c1) {
        return complaintRegistrationMapper.selectPart(c1);
    }

    @Override
    public int updateType(ComplaintRegistration c1) {
        return complaintRegistrationMapper.updateType(c1);
    }

    @Override
    public List<ComplaintRegistration> selectUser(ComplaintRegistration c1) {
        return complaintRegistrationMapper.selectUser(c1);
    }

}
